Release 10.1A: OpenEdge Data Management:
SQL Reference


DAYOFMONTH

Returns the day of the month in the argument as a short integer value in the range of 1–31. The argument date_expression can be the name of a column, the result of another scalar function, or a date or timestamp literal.

Syntax

DAYOFMONTH ( date_expression ) 

Example

This example illustrates the DAYOFMONTH function:

SELECT *
    FROM orders
    WHERE DAYOFMONTH (order_date) = 14 ; 

Notes

Compatibility

ODBC compatible


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095